.user-home-v2 {
  min-height: 100vh;
  background-color: #f5f7fa;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* 顶部横幅 */
.header-banner {
  background-image: url('/geometry/back.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  color: white;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.banner-text {
  flex: 1;
}

.banner-text h1 {
  font-size: 36px;
  font-weight: 600;
  margin: 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-logo {
  position: absolute;
  top: -40px;
  right: 0;
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* 内容区域 */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* 章节折叠面板 */
.chapters-collapse {
  background: transparent;
  border: none;
}

.chapter-panel {
  margin-bottom: 16px !important;
  border-radius: 4px !important;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: none !important;
}

.chapter-panel > .ant-collapse-header {
  padding: 20px 24px !important;
  background: white !important;
  border-radius: 4px !important;
  transition: all 0.3s;
  border-bottom: none !important;
}

.chapter-panel > .ant-collapse-header:hover {
  background: #f5f9ff !important;
}

.chapter-panel.ant-collapse-item-active > .ant-collapse-header {
  background: white !important;
}

.chapter-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chapter-title {
  font-size: 20px;
  font-weight: 600;
  color: #0e68bd !important;
  margin: 0;
}

.ant-collapse-content-box {
  padding: 0 !important;
}

.chapter-panel .ant-collapse-content {
  border-top: none !important;
}

/* 模型列表 */
.model-list-item {
  cursor: pointer;
  transition: all 0.2s;
  padding: 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.model-list-item:last-child {
  border-bottom: none !important;
}

.model-list-item:hover {
  background: #f5f9ff;
}

.model-item-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  width: 100%;
}

.model-number {
  font-size: 14px;
  color: #8c8c8c;
  font-weight: 500;
  min-width: 30px;
  flex-shrink: 0;
  font-family: 'Courier New', monospace;
}

.model-title {
  flex: 1;
  color: #0d53ad !important;
  font-size: 13px !important;
}

.model-arrow {
  color: #bfbfbf;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.model-list-item:hover .model-arrow {
  transform: translateX(4px);
  color: #1890ff;
}

/* 加载和错误状态 */
.loading-container,
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  gap: 16px;
  padding: 40px 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-banner {
    padding: 40px 16px;
  }

  .banner-text h1 {
    font-size: 28px;
  }

  .banner-logo {
    height: 60px;
    top: -30px;
  }

  .content-section {
    padding: 16px;
  }

  .chapter-panel > .ant-collapse-header {
    padding: 16px 20px !important;
  }

  .chapter-title {
    font-size: 18px;
  }

  .model-item-content {
    padding: 14px 20px;
  }

  .model-title {
    font-size: 14px;
  }
}

/* Ant Design 组件自定义样式 */
.ant-collapse-expand-icon {
  color: #1890ff !important;
  font-size: 14px;
}

.ant-list-item {
  padding: 0 !important;
}

.ant-spin {
  color: #1890ff;
}

.ant-btn-primary {
  background: #1890ff;
  border-color: #1890ff;
}

.ant-btn-primary:hover {
  background: #40a9ff;
  border-color: #40a9ff;
}

